package com.college_career_system.dao;

import com.college_career_system.pojo.po.SubmitRecruit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.college_career_system.pojo.vo.SubmitDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Empty
 * @since 2022-12-04
 */
@Mapper
public interface SubmitRecruitMapper extends BaseMapper<SubmitRecruit> {

    List<SubmitDetail> selectSubmit(String account, int flag);

    /**
     * 查询这个招聘是否已经投递过
     * @param uid
     * @param recruitId
     * @return
     */
    int submitResume(String uid, int recruitId);


    int changeWhetherAgree(int hid,int flag);

}
